package com.baidu.echarts;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

public class Legend {
    @JsonProperty(index = 1)
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String orient;

    @JsonProperty(index = 2)
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String x;

    @JsonProperty(index = 3)
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List<String> data;

    public String getOrient() {
        return orient;
    }

    public Legend setOrient(String orient) {
        this.orient = orient;
        return this;
    }

    public String getX() {
        return x;
    }

    public Legend setX(String x) {
        this.x = x;
        return this;
    }

    public List<String> getData() {
        return data;
    }

    public Legend setData(List<String> data) {
        this.data = data;
        return this;
    }
}
